home *** CD-ROM | disk | FTP | other *** search
Makefile | 1992-08-07 | 763 b | 33 lines |
- # add -DSYSV as appropriate, -DPW_QUOTA if your passwd struct has one
- CFLAGS=-g -DDEBUG -DBSD43
-
- # may need to -lBSD, -lbsd, or some such
- LIBS=-lresolv -lm
-
- # include these if necessary
- #XOBJS=syslog.o strerror.o
-
- all: xtacacsd tacpasswd changetac
-
- xtacacsd: xtacacsd.c inet_ntoa.o $(SYSLOG)
- ${CC} -Iinclude ${CFLAGS} -o $@ xtacacsd.c inet_ntoa.o \
- $(SYSLOG) ${LIBS}
-
- inet_ntoa.o: inet_ntoa.c
- ${CC} -Iinclude ${CFLAGS} -c -o $@ inet_ntoa.c
-
- syslog.o: syslog.c
- ${CC} -Iinclude ${CFLAGS} -c -o $@ syslog.c
-
- strerror.o: strerror.c
- ${CC} ${CFLAGS} -c -o $@ strerror.c
-
- tacpasswd: tacpasswd.c
- ${CC} ${CFLAGS} -o $@ tacpasswd.c ${LIBS}
-
- changetac: changetac.c
- ${CC} ${CFLAGS} -o $@ changetac.c ${LIBS}
-
- clean:
- rm -f xtacacsd tacpasswd changetac a.out core *.o
-